﻿<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
    <meta name="renderer" content="webkit|ie-comp|ie-stand"/>
    <title>骑士小说</title>
    <meta name="keywords" content="骑士小说,无弹窗,小说阅读网,biquge"/>
    <meta name="description" content="骑士小说是广大书友最值得收藏的网络小说阅读网，网站收录了当前最火热的网络小说，免费提供高质量的小说最新章节，是广大网络小说爱好者必备的小说阅读网。"/>
    <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
</head>
<body>
<link rel="stylesheet" href="https://cdn.bootcss.com/sweetalert/0.5.0/sweet-alert.css"/>
<link rel="stylesheet" href="https://zqjscss.cdn.bcebos.com/css/style.css"/>
<script src="https://cdn.bootcss.com/jquery/2.1.4/jquery.min.js"></script>
<script src="/static/js/novel.js"></script>
<script src="https://zqjscss.cdn.bcebos.com/js/apps.js"></script>
<div th:replace ="~{repetition :: topbar}"></div>
<div th:replace ="~{repetition :: header}"></div>
<div th:replace ="~{repetition :: nav}"></div>
<div class="container">
    <div class="row">
        <div class="layout layout-col2" th:if="${user != null}">
            <div class="item">
                <div class="image">
                        <img style="min-height:120px; width:100px ;height: 100px "
                             th:src="@{'person/'+${user.getId()}+'.jpg'}"
                             th:alt="${user.getName()}"/>
                </div>
                <dl>
                <dt><a th:text="${user.getName()}"> </a></dt>
                    <dt>
                        <form th:if="${user ne null}" th:action=" @{/shelf/toshelf} " method="post">
<!--                            <input type="hidden" name="userid" th:value="${user.getId()}">-->
                            <input type="submit" value="我的书架">
                        </form>
                    </dt>
<!--                    <dt>-->
<!--                        <form th:action="${user ne null} ? @{/tag} : @{/login/loginpage}" method="post">-->
<!--                            <input type="submit" value="我的书签">-->
<!--                        </form>-->
<!--                    </dt>-->
                    <li><a th:href="${user ne null} ? @{/tag}  : @{/login/loginpage}">我的书签</a></li>

                    <dt>
                        <form th:if="${user ne null}" th:action="@{/score} " method="post">
                            <input type="hidden" name="userid" th:value="${user.getId()}">
                            <input type="submit" value="我的评分">
                        </form>
                    </dt>
                    <dt>
                        <form th:if="${user ne null}" th:action="@{/setting} " method="post">
                            <input type="hidden" name="userid" th:value="${user.getId()}">
                            <input type="submit" value="个人信息设置">
                        </form>
                    </dt>
                    <dt>
                </dt>
                </dl>
            </div>
        </div>


        <div class="layout layout-col2" th:if="${user != null}">
            <h2 class="layout-tit">猜你喜欢
<!--                &nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp &nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp-->
<!--                &nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp &nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp-->
<!--                &nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp &nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp-->
<!--                &nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp &nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp &nbsp &nbsp &nbsp&nbsp&nbsp&nbsp&nbsp-->
<!--                &nbsp&nbsp-->
<!--                <a ></a>-->
<!--                换一换-->
            </h2>
            <div class="item" th:each="book:${recList}">
                <div class="image">
                    <a th:href="@{/info(bookid=${book.getId()})}">
                        <img style="min-height:120px;" onerror="src='nopic.gif'"
                             th:src="@{${book.getId()}+'.jpg'}"
                             th:alt="${book.getName()}"/></a>
                </div>
                <dl th:switch="${book.getType()}">
                    <dt><span th:text="${book.getAuthor()}"> </span><a th:href="@{info(bookid=${book.getId()})}" th:text="${book.getName()}"> </a></dt>

                    <dd th:case="仙侠武侠">
                        <a th:href="@{info(bookid=${book.getId()})}"
                           th:text="${book.getIntroduction()!=null} ? ${#strings.length(book.getIntroduction())>75 ?
                           #strings.substring(book.getIntroduction(),0,75) :book.getIntroduction()}:
                    '修仙觅长生，热血任逍遥，踏莲曳波涤剑骨，凭虚御风塑圣魂！' "
                           style="color: #555"></a>
                    </dd>
                    <dd th:case="同人网游">
                        <a th:href="@{info(bookid=${book.getId()})}"
                           th:text="${book.getIntroduction()!=null} ? ${#strings.length(book.getIntroduction())>75 ?
                           #strings.substring(book.getIntroduction(),0,75) :book.getIntroduction()}:
                    '肆意挥洒激情的游戏人生，打破现实框架的无尽幻想！'"
                           style="color: #555"></a>
                    </dd>
                    <dd th:case="科幻灵异">
                        <a th:href="@{info(bookid=${book.getId()})}"
                           th:text="${book.getIntroduction()!=null} ? ${#strings.length(book.getIntroduction())>75 ?
                           #strings.substring(book.getIntroduction(),0,75) :book.getIntroduction()}:
                    '星海漫游，时空穿梭，机械科技，目标是未知的星辰大海！'"
                           style="color: #555"></a>
                    </dd>
                    <dd th:case="穿越历史">
                        <a th:href="@{info(bookid=${book.getId()})}"
                           th:text="${book.getIntroduction()!=null} ? ${#strings.length(book.getIntroduction())>75 ?
                           #strings.substring(book.getIntroduction(),0,75) :book.getIntroduction()}:
                    '醒掌天下权，醉卧美人膝，五千年风华烟雨，是非成败转头空！'"
                           style="color: #555"></a>
                    </dd>
                    <dd th:case="都市言情">
                        <a th:href="@{info(bookid=${book.getId()})}"
                           th:text="${book.getIntroduction()!=null} ? ${#strings.length(book.getIntroduction())>75 ?
                           #strings.substring(book.getIntroduction(),0,75) :book.getIntroduction()}:
                   '重生过去，畅想未来，梦幻现实，再塑传奇人生'"
                           style="color: #555"></a>
                    </dd>
                    <dd th:case="*">
                        <a th:href="@{info(bookid=${book.getId()})}"
                           th:text="${book.getIntroduction()!=null} ? ${#strings.length(book.getIntroduction())>75 ?
                           #strings.substring(book.getIntroduction(),0,75) :book.getIntroduction()}:
                    '心潮澎湃，无限幻想，迎风挥击千层浪，少年不败热血！' "
                           style="color: #555"></a>
                    </dd>

                </dl>
            </div>
        </div>
    </div>
</div>
<div class="footer" id="footer">
    <div class="pc-footer">
        <p>本站所有小说为转载作品，所有章节均由网友上传，转载至本站只是为了宣传本书让更多读者欣赏。</p>
    </div>
    <div class="m-footer">
        <a href="/">首页</a>
        <a href="/user/case.php" rel="nofollow">我的书架</a>
        <a href="/reader/case.php" rel="nofollow">阅读记录</a>
        <a href="https://mgzs.cdn.bcebos.com/appdown.html?w=tg7">客户端</a>
        <a href="#">顶部↑</a>
    </div>
</div>

<script src="https://zqjscss.cdn.bcebos.com/js/iconfont.js"></script>
<script src="https://apps.bdimg.com/libs/jquery/1.4.2/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/sweetalert/0.5.0/sweet-alert.min.js"></script>
<script>
    function check() {
        var keyWord = $("#keyWord").val().trim();
        if (keyWord == "" || keyWord == null || keyWord == undefined) {
            swal({
                title: "请输入正确的信息！",
                type: "warning",
            });
        } else {
            $("#form").submit();
        }
    }

    function loginbtn() {
        var domain = window.location.href;
        $.post("/MemberAction.php", {
                action: 'login',
                username: $("#small-username").val(),
                password: $("#small-password").val(),
                usecookie: "720"
            },
            function (result) {
                if (result != []) {
                    if (result.status == 1) {
                        swal({
                            title: "提示",
                            text: result.info
                        });
                        setTimeout(function () {
                            if (domain.indexOf("login.php") >= 0) {
                                location.href = "/";
                            } else {
                                location.href = domain;
                            }
                        }, 1500);
                    } else {
                        swal({
                            title: "提示",
                            text: result.info
                        });
                    }
                }
            })
    }
</script>
<div style="display:none;">
    <script>
        var _hmt = _hmt || [];
        (function () {
            var hm = document.createElement("script");
            hm.src = "https://hm.baidu.com/hm.js?1178a65c6e06652b52745ae1c757aa87";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
    <script type="text/javascript" src="https://s9.cnzz.com/z_stat.php?id=1278951145&amp;web_id=1278951145"></script>
    <script src="https://c.cnzz.com/core.php?web_id=1278951145&amp;t=z" charset="utf-8" type="text/javascript"></script>
    <a href="https://www.cnzz.com/stat/website.php?web_id=1278951145" target="_blank" title="站长统计">站长统计</a>
</div>
<script>
    function delbookcase(bookId) {
        $.post("/BookAction.aspx", {action: "removebookcase", bookId: bookId},
            function (data) {
                var data = JSON.parse(data);
                swal({
                    title: "提示",
                    text: data.info
                });
                setTimeout(function () {
                    window.location.reload();
                }, 1000);
            })
    }
</script>


</body>

</html>